package com.mvc.web.user.dao;

import com.mvc.web.user.vo.LoginForm;
import com.mvc.web.user.vo.UserVo;

public interface UserDao {

	UserVo getUser(LoginForm vo);

	String getCountByPhone(String phone);

	void createUser(String phone, int verifyCode, long tokenTime);

	void updateUser(String phone, int verifyCode, long tokenTime);

	void uploadImage(int uid, String imgUrl);

	void setPwd(int uid, String newPwd);

	int createUser(String carOwnerPhone, String carOwnerName);

	void updateUserName(String carOwnerPhone, String carOwnerName);
}
